package model

import "github.com/zeromicro/go-zero/core/stores/sqlx"

var _ SmsCouponModel = (*customSmsCouponModel)(nil)

type (
	// SmsCouponModel is an interface to be customized, add more methods here,
	// and implement the added methods in customSmsCouponModel.
	SmsCouponModel interface {
		smsCouponModel
	}

	customSmsCouponModel struct {
		*defaultSmsCouponModel
	}
)

// NewSmsCouponModel returns a model for the database table.
func NewSmsCouponModel(conn sqlx.SqlConn) SmsCouponModel {
	return &customSmsCouponModel{
		defaultSmsCouponModel: newSmsCouponModel(conn),
	}
}
